<html>
<body>
Reports local variables that are used only in the very next <code>return</code> statement or are exact copies of other variables.
<p>Such variables can be safely inlined to make the code more clear.</p>

<p><b>Example:</b></p>
<pre><code>
  fun sum(a: Int, b: Int): Int {
      val c = a + b
      return c
  }
</code></pre>
<p>After the quick-fix is applied:</p>
<pre><code>
  fun sum(a: Int, b: Int): Int {
      return a + b
  }
</code></pre>
<!-- tooltip end -->
<p>Configure the inspection:</p>
<p>Use the <b>Report immediately returned variables</b> option to report immediately returned variables.
    When given descriptive names, such variables may improve the code readability in some cases, that's why this option is disabled by default.</p>
</body>
</html>
